Don't unnecessarily set the event mask as that can cause X errors
authorAlexander Larsson <alexl@redhat.com>
Wed, 26 Aug 2009 12:53:27 +0000 (14:53 +0200)
committerAlexander Larsson <alexl@redhat.com>
Wed, 26 Aug 2009 12:53:27 +0000 (14:53 +0200)
commitcf739308691c0bc6883cb48947caa74eca4abd2b
treed5b182b01f33f7e0712669807c8d98ff5b24653f
parent2400e1440e391ed8400c674095f92cff6c445457
Don't unnecessarily set the event mask as that can cause X errors

For instance, two clients selecting for button events can cause BadAccess.
This fixes bug 592624, where a gdk_window_reparent caused us to re-set
the event mask, breaking the workaround for the mozilla BadAccess bug.
gdk/gdkwindow.c